BlueCielo Publisher 2012 Administrator's Guide | BlueCielo ECM Solutions

You are here: VBScript reference > About the event procedures > About the Publisher source events > PublisherSourceEvent_AfterPublish event

PublisherSourceEvent_AfterPublish event

Occurs in the source vault after publishing has ended.

Syntax

PublisherSourceEvent_AfterPublish (destType, destAddress, _
    destDocId, publishOptions)
Parameters
Parameter Description

destType

The name of the destination system link, for example, BC Meridian or Windows file system.

destAddress

The address of the destination system as shown on the BlueCielo Application Manager Destination page, for example, DataStoreName @ MachineName for the  BlueCielo Meridian Enterprise link.

destDocId

The ID of document in the destination system. Contains an empty value if the document does not yet exist in the destination system.

publishOptions

The publishing options to apply to the job. If the options were specified in the source system client application, they are passed in this parameter. For information about the publishing options supported by a specific system link, see the system link description in About the standard modules.

If rendering fails with any rendering module and the Use the next rendering module if rendering fails and the number of retries has been exceeded option is enabled as described in Configuring the rendering options, this parameter contains the text _RETRYRENDER_<ModuleName>_ . Your implementation of this event can then perform other actions in response to the failure, such as notify a system administrator, set a property value for easy document location, and so on.

Example

Public Sub PublisherSourceEvent_AfterPublish (destType, destAddress, _
    destDocId, publishOptions)
    Document.Log _
	"Published: " & _ 
	"to " & destType & " '" & destAddress & "'" & _ 
	" document with ID '" & destDocId & "'" & _
	" with options '" & publishOptions & "'" 
End Sub

Related concepts

Understanding the BlueCielo Meridian Enterprise system link

VBScript reference

About the Publisher source events

About the Publisher destination events

Related information

PublishOptions property

PublisherSourceEvent_BeforePublish event

PublisherDestinationEvent_AfterPublish event


Copyright © 2000-2014 BlueCielo ECM Solutions

www.bluecieloecm.com